[INFO] fetching crate compile-in-memory 0.2.0...
[INFO] checking compile-in-memory-0.2.0 against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] extracting crate compile-in-memory 0.2.0 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate compile-in-memory 0.2.0
[INFO] finished tweaking crates.io crate compile-in-memory 0.2.0
[INFO] tweaked toml for crates.io crate compile-in-memory 0.2.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate compile-in-memory 0.2.0 on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 5 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 373f9bbafcb01472fe53efc033fe2cbd1d51a8306fcb792a7adba1b570ac8f49
[INFO] running `Command { std: "docker" "start" "-a" "373f9bbafcb01472fe53efc033fe2cbd1d51a8306fcb792a7adba1b570ac8f49", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "373f9bbafcb01472fe53efc033fe2cbd1d51a8306fcb792a7adba1b570ac8f49", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "373f9bbafcb01472fe53efc033fe2cbd1d51a8306fcb792a7adba1b570ac8f49", kill_on_drop: false }`
[INFO] [stdout] 373f9bbafcb01472fe53efc033fe2cbd1d51a8306fcb792a7adba1b570ac8f49
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 16e2226237bc5e8f7d3b60f61a3fa712bc503d7315fa25917263476035fe29af
[INFO] running `Command { std: "docker" "start" "-a" "16e2226237bc5e8f7d3b60f61a3fa712bc503d7315fa25917263476035fe29af", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking loader v0.2.1
[INFO] [stderr]     Checking compile-in-memory v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stdout] error[E0618]: expected function, found `AssertShared<LibraryFunc<'_, extern "C" fn(i32, i32) -> i32>>`
[INFO] [stdout]    --> src/lib.rs:124:16
[INFO] [stdout]     |
[INFO] [stdout] 122 |     let func = unsafe { func.assert_callable_shared() };
[INFO] [stdout]     |         ---- `func` has type `AssertShared<LibraryFunc<'_, extern "C" fn(i32, i32) -> i32>>`
[INFO] [stdout] 123 |
[INFO] [stdout] 124 |     assert_eq!(func(3, 4), 7);
[INFO] [stdout]     |                ^^^^------
[INFO] [stdout]     |                |
[INFO] [stdout]     |                call expression requires function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0618]: expected function, found `AssertShared<LibraryFunc<'_, extern "C" fn(*mut ..., ..., ...)>>`
[INFO] [stdout]    --> src/lib.rs:156:5
[INFO] [stdout]     |
[INFO] [stdout] 150 |     let func = unsafe { func.assert_callable_shared() };
[INFO] [stdout]     |         ---- `func` has type `AssertShared<LibraryFunc<'_, extern "C" fn(*mut ..., ..., ...)>>`
[INFO] [stdout] ...
[INFO] [stdout] 156 |     func(&mut result, &negative_three_fourths, &parameter);
[INFO] [stdout]     |     ^^^^--------------------------------------------------
[INFO] [stdout]     |     |
[INFO] [stdout]     |     call expression requires function
[INFO] [stdout]     |
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/compile_in_memory-883e173f4fcd40ee.long-type-17449422052203193914.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0618]: expected function, found `AssertShared<LibraryFunc<'_, extern "C" fn(*mut ..., ..., ...)>>`
[INFO] [stdout]    --> src/lib.rs:159:5
[INFO] [stdout]     |
[INFO] [stdout] 150 |     let func = unsafe { func.assert_callable_shared() };
[INFO] [stdout]     |         ---- `func` has type `AssertShared<LibraryFunc<'_, extern "C" fn(*mut ..., ..., ...)>>`
[INFO] [stdout] ...
[INFO] [stdout] 159 |     func(&mut result, &negative_three_fourths, &parameter);
[INFO] [stdout]     |     ^^^^--------------------------------------------------
[INFO] [stdout]     |     |
[INFO] [stdout]     |     call expression requires function
[INFO] [stdout]     |
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/compile_in_memory-883e173f4fcd40ee.long-type-17449422052203193914.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0618`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `compile-in-memory` (lib test) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "16e2226237bc5e8f7d3b60f61a3fa712bc503d7315fa25917263476035fe29af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "16e2226237bc5e8f7d3b60f61a3fa712bc503d7315fa25917263476035fe29af", kill_on_drop: false }`
[INFO] [stdout] 16e2226237bc5e8f7d3b60f61a3fa712bc503d7315fa25917263476035fe29af
